package com.own.business.system.dictionary.common.exception;

import com.own.base.BaseResponseCode;
import com.own.business.system.dictionary.common.em.DictionaryExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * DictionaryException
 *
 * @author chenxueli
 * @date 2023-06-21 09:34:02
 */
public class DictionaryException extends BusinessException {

    public DictionaryException() {
        super(DictionaryExceptionEnum.DEFAULT);
    }

    public DictionaryException(String message) {
        super(DictionaryExceptionEnum.DEFAULT.code(), message);
    }

    public DictionaryException(String code, String message) {
        super(code, message);
    }

    public DictionaryException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public DictionaryException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
